<template>
  <div>
    <Upduct :text="str" type="primary" @click="login"></Upduct>
  </div>
</template>
<script>
import Upduct from "./components/combase/Upduct.vue";
export default {
  name: "",
  data() {
    return {
      str: "注册",
    };
  },
  components: {
    Upduct,
  },
  methods: {
    login(e) {
      console.log(e);
    },
  },
};
</script>
<style scoped>
/* .btn {
  padding: 0;
  width: 50%;
  height: 50px;
  border-radius: 25px;
  background-color: #ccc;
  margin: 20px auto;
  font-size: 20px;
  line-height: 50px;
  } */
</style>